package com.link.base.base.mpconfig.service;

import com.link.base.base.mpconfig.dao.mybatis.mapper.DeviceParamMapper;
import com.link.base.base.mpconfig.model.DeviceParam;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 门店设备参数
 *
 * @author: 闫有霞
 * @date: 2019/12/19
 */
@Service
public class DeviceParamServiceImpl extends BasicServiceImpl<DeviceParam> implements DeviceParamService {

    @Resource
    private DeviceParamMapper deviceParamMapper;
    
    @Override
    public BasicMapper<DeviceParam> getBasicMapper() {
        return deviceParamMapper;
    }

    @Override
    public DeviceParam queryDeviceInfoById(DeviceParam deviceParam) throws Exception {
        return deviceParamMapper.queryDeviceInfoById(deviceParam);
    }
}

